package com.ruoyi.asset.domain;

import java.math.BigDecimal;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 报废处理记录对象 disposal_record
 * 
 * @author ruoyi
 * @date 2023-04-06
 */
@ApiModel(value = "DisposalRecord", description = "报废处理记录对象")

public class DisposalRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 处置编号 */
    @TableId
    @ApiModelProperty("处置编号")
    private String disposalId;

    /** 资产编号 */
    @Excel(name = "资产编号")
    @ApiModelProperty("资产编号")
    private String assetNumber;

    /** 处置类型 */
    @Excel(name = "处置类型")
    @ApiModelProperty("处置类型")
    private String disposalType;

    /** 处置日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "处置日期", width = 30, dateFormat = "yyyy-MM-dd")
    @ApiModelProperty("处置日期")
    private Date disposalDate;

    /** 处置方法 */
    @Excel(name = "处置方法")
    @ApiModelProperty("处置方法")
    private String disposalMethod;

    /** 处置金额 */
    @Excel(name = "处置金额")
    @ApiModelProperty("处置金额")
    private BigDecimal disposalAmount;

    /** 处置人员 */
    @Excel(name = "处置人员")
    @ApiModelProperty("处置人员")
    private String disposer;

    /** 捐赠对象 */
    @Excel(name = "捐赠对象")
    @ApiModelProperty("捐赠对象")
    private String donationRecipient;

    @Override
    public String getRemark() {
        return remark;
    }

    @Override
    public void setRemark(String remark) {
        this.remark = remark;
    }

    /** 备注 */
    @Excel(name = "备注")
    @ApiModelProperty("备注")
    private String remark;

    public void setDisposalId(String disposalId) 
    {
        this.disposalId = disposalId;
    }

    public String getDisposalId() 
    {
        return disposalId;
    }
    public void setAssetNumber(String assetNumber)
    {
        this.assetNumber = assetNumber;
    }

    public String getAssetNumber()
    {
        return assetNumber;
    }
    public void setDisposalType(String disposalType) 
    {
        this.disposalType = disposalType;
    }

    public String getDisposalType() 
    {
        return disposalType;
    }
    public void setDisposalDate(Date disposalDate) 
    {
        this.disposalDate = disposalDate;
    }

    public Date getDisposalDate() 
    {
        return disposalDate;
    }
    public void setDisposalMethod(String disposalMethod) 
    {
        this.disposalMethod = disposalMethod;
    }

    public String getDisposalMethod() 
    {
        return disposalMethod;
    }
    public void setDisposalAmount(BigDecimal disposalAmount) 
    {
        this.disposalAmount = disposalAmount;
    }

    public BigDecimal getDisposalAmount() 
    {
        return disposalAmount;
    }
    public void setDisposer(String disposer) 
    {
        this.disposer = disposer;
    }

    public String getDisposer() 
    {
        return disposer;
    }
    public void setDonationRecipient(String donationRecipient) 
    {
        this.donationRecipient = donationRecipient;
    }

    public String getDonationRecipient() 
    {
        return donationRecipient;
    }

    @Override
    public String toString() {
        return "DisposalRecord{" +
                "disposalId='" + disposalId + '\'' +
                ", assetNumber='" + assetNumber + '\'' +
                ", disposalType='" + disposalType + '\'' +
                ", disposalDate=" + disposalDate +
                ", disposalMethod='" + disposalMethod + '\'' +
                ", disposalAmount=" + disposalAmount +
                ", disposer='" + disposer + '\'' +
                ", donationRecipient='" + donationRecipient + '\'' +
                ", remark='" + remark + '\'' +
                '}';
    }
}
